package xian.woniu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import xian.woniu.entity.Orders;
import xian.woniu.util.ResultVO;

import java.util.List;


/**
 * @author neide
 * @time 2022/07/04 19:24:01
 */
@FeignClient("sun-admin")
public interface IOrderService {

    @GetMapping("admin/findByPid/{pid}")
    ResultVO  findOrderByPid(@PathVariable(value = "pid") String pid);


}
